<html>

<head>

</head>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<body>
<input type="text" value="{$userinfo['openid']}">
<input type="text" value="{$userinfo['nickname']}">
<input type="text" value="{$userinfo['language']}">
<input type="text" value="{$userinfo['country']}">
<script type="text/javascript">


    //var url = "http://www.importndsf.com/import_nbsm/nbsm_shopping/public/index.php/index/Wxgzhpay/gzhpay";
    /* var url = "http://www.importndsf.com/html/testerr.php";

     $.ajax({
     url: "http://www.importndsf.com/html/testerr.php",
     // url: "http://www.importndsf.com/html/testerr.php",
     data: 'user_id=56',
     type: "post",
     //dataType: 'json',
     success: function (data) {
     console.log(data)
     //  alert(data);

     }
     });*/
    alert(2);
    //var url="www.importndsf.com/import_nbsm/nbsm_shopping/public/index.php/admin/Wxgzhpay/xcxpay";
    /*var url="www.importndsf.com/import_nbsm/nbsm_shopping/public/index.php/admin/Wxgzhpay/xcxpay";
     $(function() {
     $.post(url, {
     "order_id": 571,
     "user_id": 56
     },
     function (data) {
     // console.log(data);
     alert(1);
     //if (data.indexOf("https://") )
     //{
     eval("window.location='"+data+"'")
     //  console.log(data);
     // }
     //document.write(data);

     })
     })*/
    /*$.get({
     url: "http://www.importndsf.com/wxpay/example/jsapi.php",
     data: 'user_id=56',
     type: "get",
     //dataType: 'json',
     success: function(data){
     // console.log(data);
     document.write("t1");
     console.log(data);
     document.write(data);
     document.write("t2")
     }
     });*/






    /*    $.ajax({
     url: "http://www.importndsf.com/import_nbsm/nbsm_shopping/public/index.php/index/Bak/gzhpay",
     data: '?id=1',
     type: "get",
     //dataType: 'json',
     success: function(data){
     // console.log(data);
     document.write("t1")
     //  alert(data);
     document.write("t2")
     }
     });*/


    // alert(222);


</script>
t1
</body>
</html>
